package com.jiyici.network;

import org.json.JSONObject;

import jiyici.Server2ClientSyncData;

import com.jiyici.model.Category;
import com.jiyici.model.Item;

public interface IWebCient {

    public Result register(String email, String userName, String password);

    public Result login(String email, String password);
    
    public Result syncServer2Client(Server2ClientSyncData syncData);
    
    public Result syncClient2Server(JSONObject data);

//    public Result saveItem(Item item);
//
//    public Result getItem();
//    
//    public Result getCategoryList();
//    
//    public Result getItemListFor(Category category);
}
